﻿using Shared.Domain;
using System.ComponentModel.DataAnnotations;

namespace ProductManagement.Domain
{

    /// <summary>
    /// 公共规格的值
    /// </summary>
    public class ProSpecValue : LongEntityOnlyDelete
    {
        /// <summary>
        /// 规格Id
        /// </summary>
        public long SpecId { get; private set; }

        /// <summary>
        /// 规规的值-名称
        /// </summary>
        [MaxLength(20)]
        public string Name { get; private set; } = "";
    }
}
